function backHome() {
    jQuery.jCookie("hiconIndex", "false"), jQuery.jCookie("tabbarIndex", "false");
}

function createIconMenu(a) {
    var d, e, f, g, b = $(".nav_icon_h"), c = $(".tab_bar_content");
    if ($.each(a.list, function(a, d) {
        var g, h, i, j, k, e = $('<div class="nav_icon_h_item"><a><div class="nav_icon_h_item_img"></div><div class="nav_icon_h_item_text"></div></a></div>'), f = e.find("a");
        d.link && f.attr("href", d.link), d.target && f.attr("target", d.target), d.name && e.find(".nav_icon_h_item_text").text(d.name), 
        d.icon && (g = $("<img/>"), g.attr("src", d.icon), e.find(".nav_icon_h_item_img").append(g)), 
        b.append(e), d.id && (f.attr("id", d.id), d.clickHandler && (1 == d.clickHandler || "true" == d.clickHandler) && f.click(function() {
            changeLeftMenu(d.id, d.name);
        })), d.children && (h = -1, d.maxnum && (h = parseInt(d.maxnum)), i = $('<ul style="display:none;"></ul>'), 
        c.append(i), j = $('<li class="popupMenu nav_more"><div class="popupMenu_link nav_more_link"></div><div class="popupMenu_con white_con nav_more_con"></div></li>'), 
        k = 0, $.each(d.children, function(a, b) {
            var c, d, e;
            -1 == h || h > a ? (c = $('<li class="item"><a></a></li>'), d = c.find("a"), b.name && d.text(b.name), 
            b.link && d.attr("href", b.link), b.target && d.attr("target", b.target), i.append(c), 
            b.id && (d.attr("id", b.id), b.clickHandler && (1 == b.clickHandler || "true" == b.clickHandler) && c.click(function() {
                changeLeftMenu(b.id, b.name);
            }))) : (k = 1, e = $("<a><span></span></a>"), b.name && e.find("span").text(b.name), 
            b.link && e.attr("href", b.link), b.target && e.attr("target", b.target), j.find(">div").eq(1).append(e), 
            b.id && (e.attr("id", b.id), b.clickHandler && (1 == b.clickHandler || "true" == b.clickHandler) && e.click(function() {
                changeLeftMenu(b.id, b.name);
            })));
        }), 1 == k && (i.append(j), j.popupMenuRender()), i.append('<div class="clear"></div>'), 
        c.append(i));
    }), b.append('<div class="clear"></div>'), d = 0, e = jQuery.jCookie("hiconIndex"), 
    "false" == e || (d = parseInt(e), isNaN(d) && (d = 0)), $(".tab_bar_content >ul").eq(d).show(), 
    $(".nav_icon_h_item >a").each(function(b) {
        if ($(this).click(function() {
            $(".nav_icon_h_item >a").removeClass("current"), $(this).addClass("current"), $(".tab_bar_content >ul").hide(), 
            $(".tab_bar_content >ul").eq(b).show(), jQuery.jCookie("hiconIndex", b.toString());
        }), b == d) if ("single" == a.type) {
            $(this).addClass("current");
            var c = $(this).attr("id");
            listData = getListData(c, $(this).text());
        } else $(this).addClass("current");
    }), f = -1, g = jQuery.jCookie("tabbarIndex"), "false" == g) try {} catch (h) {} else f = parseInt(g), 
    isNaN(f) && (f = 0);
    $(".tab_bar_content li a").each(function(a) {
        if ($(this).click(function() {
            if ($(".tab_bar_content li a").removeClass("current"), $(this).addClass("current"), 
            null != $(this).attr("target")) {
                var b = "正在加载中...";
                progressFlag = 2, showSimpleProgress(b, 0, !0, "#ffffff");
            }
            jQuery.jCookie("tabbarIndex", a.toString());
        }), a == f) {
            $(this).addClass("current");
            var b = $(this).attr("id");
            try {
                listData = getListData(b, $(this).text());
            } catch (c) {}
            try {} catch (c) {}
        }
    });
}

var listData;